package com.lky.service;

import com.lky.domain.NewUser;
import com.lky.domain.User;

import java.util.List;

public interface UserService {
    User findUserById(Integer id);
    List<User> findAllUser();
    int insertUser(User user);
    int updateUserById(User user);
    int deleteUserById(Integer id);

    User findUserByNameAndPassword(User user);

    User findUserByName(User user);

    List<User> findUserByStr(String str);

    int insertUser_new(User user);

    int insertUserToNew_User(NewUser user);
}
